package com.lin.controller.commons;

import lombok.Getter;

/**
 * @ClassName AppCode
 * @Description  单一业务状态码类
 * @Author lin
 * @Date 2022/7/27 下午10:55
 * @Version V1.0
 */
@Getter
public enum  AppCode implements StatusCode {

    APP_ERROR(2000, "业务异常"),
    PRICE_ERROR(2001, "价格异常");

    private int code;
    private String msg;

    AppCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}